<!--03-jQuery对象的本质.html-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>jQuery对象的本质</title>
    <script type="text/javascript" src="jquery-1.7.2.js"></script>
    <script type="text/javascript">
        $(function () {
            // jQuery 对象是 DOM 对象的数组
            var arrs = [1,2,"ylaihui", ".com"];
            var $divs = $("div");
            for (var i = 0; i < $divs.length; i++) {

            }

            var $span = $("span");
            alert($span[0]);
        })
    </script>
</head>
<body>
    <div>div独占一行</div>
    <span>span的长度是封装的数据的长度</span>
    <div>div独占一行</div>
    <div>div独占一行</div>
    <div>div独占一行</div>
</body>
</html>